summaryrefslogtreecommitdiffstats
path: root/_layouts
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-08 21:12:11 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-08 21:12:11 +0100
commitf358d810095479109a34f2aa4b1a1d1cc0a68084 (patch)
tree317ef3215885cb3b8439656ceb14dafe18ba11db /_layouts
parentavtorji/anton 0> avtorji/anton.html (diff)
downloadsijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.gz
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.bz2
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.lz
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.xz
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.tar.zst
sijanec.eu-f358d810095479109a34f2aa4b1a1d1cc0a68084.zip
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/author.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/_layouts/author.html b/_layouts/author.html
index 226f1bb..3b8e2fd 100644
--- a/_layouts/author.html
+++ b/_layouts/author.html
@@ -10,10 +10,16 @@ layout: default
{{ content }}
<h2>objave:</h2>
+{% assign argv = page.short_name | split: "," %}
+{% include posts_by_author.html %}
+{% assign posts_by_author = return %}
+<h3>
+ {% assign argv = ",objav,objava,objavi,objave" | prepend: posts_by_author.size | split: "," %}
+ {% include slnum.html %}
+ {{ posts_by_author.size }} {{ return }}
+</h3>
<ul>
- {% assign argv = page.short_name | split: "," %}
- {% include posts_by_author.html %}
- {% for post in return %}
+ {% for post in posts_by_author %}
<li>
<a href="{{ post.url }}">
{{ post.title }} @ {{ post.date | date: site.short_date_format }}